<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>BMI体重指数测试</title>
</head>
<body>
    <center>
        <h2>信息输入</h2>
        <form action="/userBmi" method="post">
            <table border="1">
                <tr align="center">
                    <td>姓名</td>
                    <td><input name="name" type="text"></td>
                </tr>
                <tr align="center">
                    <td>年龄</td>
                    <td><input age="age" type="number"></td>
                </tr>
                <tr align="center">
                    <td>身高(m)</td>
                    <td><input name="height" type="text"></td>
                </tr>
                <tr align="center">
                    <td>体重(kg)</td>
                    <td><input name="weight" type="text"></td>
                </tr>
                <tr align="center">
                    <td colspan="2"><input type="submit" value="查看结果" ></td>
                </tr>
            </table>
        </form>
    </center>
</body>
</html>